<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>列表</title>
    <style type="text/css">
        ul{
            font-size: 25px;
            list-style: none;
        }
        li{
            width: 200px;
            margin: 5px;
            /* background-color: lightgreen; */
        }
        a{
            display: block;
            text-decoration: none;
            background-color: lightgreen;
        }
        a:link{
            color: white;
        }
        a:hover{
            background-color: lightcoral;
        }
        a:active{
            background-color: lightblue;
        }
        a:visited{
            background-color: black;
        }
    </style>
</head>
<body>
    <ul>
        <li>
            <a href="#">123</a>
        </li>
        <li>
            <a href="#">123123</a>
        </li>
        <li>
            <a href="#">123123123</a>
        </li>
        <li>
            <a href="#">123123123123</a>
        </li>
        <li>
            <a href="#">123123123123123</a>
        </li>
    </ul>
</body>
</html>